package com.qiangesoft.im.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qiangesoft.im.entity.ImChat;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 聊天 Mapper 接口
 * </p>
 *
 * @author qiangesoft
 * @date 2024-02-07
 */
public interface ImChatMapper extends BaseMapper<ImChat> {

    /**
     * 聊天列表
     *
     * @return
     */
    List<ImChat> listChat(@Param("userId") Long userId);

}
